import Vue from 'vue'
import Vuex from 'vuex'
import cart from './modules/cart'
import goodsDetaul from './modules/goodsDetaul'
import order from './modules/order'




// import createPersistedState from "vuex-persistedstate"
// import createVuexAlong from 'vuex-along'





Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        cart,
        goodsDetaul,
        order
    },
    // plugins: [createVuexAlong()], 

})